﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.WXT.Domain;
using System.WXT.Infrstructre.Interface;

namespace System.WXT.Infrstructre.Impl
{
    public class productionPickingRepository:BaseRepository<productionPicking>, IproductionPickingRepository
    {
        public productionPickingRepository(SystemWxtDbContext context) : base(context) { }
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<int> Add(productionPicking entity)
        {
            return await base.Add(entity);
        }
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<List<productionPicking>> GetAll()
        {
            return await base.GetAll();
        }
        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<productionPicking> GetBaby(int id)
        {
            return await base.GetBaby(id);
        }
        /// <summary>
        /// 修改 逻辑删除
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<int> Update(productionPicking entity)
        {
            return await base.Update(entity);
        }
        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task<int> Updatees(List<productionPicking> entity)
        {
            return await base.Updatees(entity);

        }
    }
}
